package com.zhengqing.wxmp.util.wchat;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName SendTemplateMsgRequest
 * @Description TODO
 * @Author Des1gn
 * @Date 2022/9/27 15:48
 * @Version 1.0
 **/
@Data
public class SendSubscribeMsgRequest {

    /**
     * 公众号openid
     */
    private String touser;

    private String template_id;

    private String page;

    private String miniprogram_state;

    private String lang = "zh_CN";

    private Map<String,MsgData> data = new HashMap<>();

    @Data
    @Accessors(chain = true)
    public static class MsgData{
        private String value;
    }

}
